Integrand size = 26, antiderivative size = 37 \[ \int \frac {1}{(b d+2 c d x)^2 \sqrt {a+b x+c x^2}} \, dx=\frac {2 \sqrt {a+b x+c x^2}}{\left (b^2-4 a c\right ) d^2 (b+2 c x)} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.038, Rules used = {696} \[ \int \frac {1}{(b d+2 c d x)^2 \sqrt {a+b x+c x^2}} \, dx=\frac {2 \sqrt {a+b x+c x^2}}{d^2 \left (b^2-4 a c\right ) (b+2 c x)} \]
[In]
[Out]
Rule 696
Rubi steps \begin{align*} \text {integral}& = \frac {2 \sqrt {a+b x+c x^2}}{\left (b^2-4 a c\right ) d^2 (b+2 c x)} \\ \end{align*}
Result contains higher order function than in optimal. Order 3 vs. order 2 in optimal.
Time = 0.74 (sec) , antiderivative size = 236, normalized size of antiderivative = 6.38 \[ \int \frac {1}{(b d+2 c d x)^2 \sqrt {a+b x+c x^2}} \, dx=\frac {\frac {2 a+x (b+2 c x)-2 \sqrt {a} \sqrt {a+x (b+c x)}}{2 \sqrt {a} c (b+2 c x) \left (2 a+b x-2 \sqrt {a} \sqrt {a+x (b+c x)}\right )}+\frac {2 \arctan \left (\frac {\sqrt {c} \sqrt {b^2-4 a c} x}{\sqrt {a} (b+2 c x)-b \sqrt {a+x (b+c x)}}\right )}{b \sqrt {c} \sqrt {b^2-4 a c}}-\frac {2 \text {arctanh}\left (\frac {\sqrt {c} \sqrt {-b^2+4 a c} x}{\sqrt {a} (b+2 c x)-b \sqrt {a+x (b+c x)}}\right )}{b \sqrt {c} \sqrt {-b^2+4 a c}}}{d^2} \]
[In]
[Out]
Time = 2.70 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.03
method | result | size |
gosper | \(-\frac {2 \sqrt {c \,x^{2}+b x +a}}{\left (2 c x +b \right ) d^{2} \left (4 a c -b^{2}\right )}\) | \(38\) |
trager | \(-\frac {2 \sqrt {c \,x^{2}+b x +a}}{\left (2 c x +b \right ) d^{2} \left (4 a c -b^{2}\right )}\) | \(38\) |
default | \(-\frac {\sqrt {\left (x +\frac {b}{2 c}\right )^{2} c +\frac {4 a c -b^{2}}{4 c}}}{d^{2} c \left (4 a c -b^{2}\right ) \left (x +\frac {b}{2 c}\right )}\) | \(61\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.30 \[ \int \frac {1}{(b d+2 c d x)^2 \sqrt {a+b x+c x^2}} \, dx=\frac {2 \, \sqrt {c x^{2} + b x + a}}{2 \, {\left (b^{2} c - 4 \, a c^{2}\right )} d^{2} x + {\left (b^{3} - 4 \, a b c\right )} d^{2}} \]
[In]
[Out]
\[ \int \frac {1}{(b d+2 c d x)^2 \sqrt {a+b x+c x^2}} \, dx=\frac {\int \frac {1}{b^{2} \sqrt {a + b x + c x^{2}} + 4 b c x \sqrt {a + b x + c x^{2}} + 4 c^{2} x^{2} \sqrt {a + b x + c x^{2}}}\, dx}{d^{2}} \]
[In]
[Out]
Exception generated. \[ \int \frac {1}{(b d+2 c d x)^2 \sqrt {a+b x+c x^2}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 139 vs. \(2 (35) = 70\).
Time = 0.28 (sec) , antiderivative size = 139, normalized size of antiderivative = 3.76 \[ \int \frac {1}{(b d+2 c d x)^2 \sqrt {a+b x+c x^2}} \, dx=-\frac {\sqrt {c} \mathrm {sgn}\left (\frac {1}{2 \, c d x + b d}\right ) \mathrm {sgn}\left (c\right ) \mathrm {sgn}\left (d\right )}{b^{2} c d^{2} - 4 \, a c^{2} d^{2}} + \frac {\sqrt {-\frac {b^{2} c d^{2}}{{\left (2 \, c d x + b d\right )}^{2}} + \frac {4 \, a c^{2} d^{2}}{{\left (2 \, c d x + b d\right )}^{2}} + c}}{b^{2} c d^{2} \mathrm {sgn}\left (\frac {1}{2 \, c d x + b d}\right ) \mathrm {sgn}\left (c\right ) \mathrm {sgn}\left (d\right ) - 4 \, a c^{2} d^{2} \mathrm {sgn}\left (\frac {1}{2 \, c d x + b d}\right ) \mathrm {sgn}\left (c\right ) \mathrm {sgn}\left (d\right )} \]
[In]
[Out]
Time = 9.59 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.00 \[ \int \frac {1}{(b d+2 c d x)^2 \sqrt {a+b x+c x^2}} \, dx=-\frac {2\,\sqrt {c\,x^2+b\,x+a}}{d^2\,\left (4\,a\,c-b^2\right )\,\left (b+2\,c\,x\right )} \]
[In]
[Out]